package br.com.sumap.bd;

import java.util.List;



public class Test {

	/**
	 * @param args
	 * @throws SQLException 
	 */
	public static void main(String[] args){
		
		UsuarioDAO dao = new UsuarioDAO();
		
		List<Usuario> usuarios = dao.getList();
		
		for(Usuario user : usuarios){
			System.out.println("Nome: "+user.getName());
			System.out.println("E-mail: "+user.getEmail());
			System.out.println("Grupo: "+user.getGroup());
			System.out.println("Senha: "+user.getPass());
			System.out.println("Id: "+user.getId());
			System.out.println("");
			
		}


	}

}
